sinx(x) = sin(x)
g(x) = 2.0 * sin(x)
h(x) = 1.0 / 2.0 * sin(x)